/*
 * NoSettingsPanel.java
 *
 * Created on July 15, 2006, 4:14 PM
 */

package net.anzix.jimposition.transformations;


public class RotateFilterPanel extends javax.swing.JPanel {
    /**
     * Creates new form NoSettingsPanel
     */
    public RotateFilterPanel() {
        initComponents();
    }

    public javax.swing.JComboBox getDegreeComboBox() {
        return degreeComboBox;
    }

    public void setDegreeComboBox(javax.swing.JComboBox degreeComboBox) {
        this.degreeComboBox = degreeComboBox;
    }

    public javax.swing.JComboBox getPageComboBox() {
        return pageComboBox;
    }

    public void setPageComboBox(javax.swing.JComboBox pageComboBox) {
        this.pageComboBox = pageComboBox;
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        degreeComboBox = new javax.swing.JComboBox();
        pageComboBox = new javax.swing.JComboBox();

        jLabel1.setText("Pages:");

        jLabel2.setText("Degree:");

        degreeComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "0", "90", "180", "270" }));

        pageComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "All pages", "Odd pages", "Even pages" }));

        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                    .add(degreeComboBox, 0, 142, Short.MAX_VALUE)
                    .add(jLabel2)
                    .add(jLabel1)
                    .add(pageComboBox, 0, 142, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
            .add(layout.createSequentialGroup()
                .addContainerGap()
                .add(jLabel2)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(degreeComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(jLabel1)
                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                .add(pageComboBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(20, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox degreeComboBox;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JComboBox pageComboBox;
    // End of variables declaration//GEN-END:variables
    
}
